home *** CD-ROM | disk | FTP | other *** search
/ MacHack 2000 / MacHack 2000.toast / pc / The Hacks / Genie / Projects / Concept3D / Source / Includes / C3DPort.hh < prev    next >
Encoding:
Text File  |  2000-06-24  |  707 b   |  48 lines

  1. /*    ==========
  2.  *    C3DPort.hh
  3.  *    ==========
  4.  *    
  5.  *    Implemented by C3DPort.cc
  6.  */
  7.  
  8. #pragma once
  9.  
  10. //#include "PedObject.hh"
  11.  
  12. #include "NGLList.hh"
  13.  
  14.  
  15. enum {
  16.     cmdMoveLeft,
  17.     cmdMoveRight,
  18.     cmdMoveUp,
  19.     cmdMoveDown,
  20.     cmdMoveForward,
  21.     cmdMoveBackward,
  22.     cmdYawLeft,
  23.     cmdYawRight,
  24.     cmdPitchUp,
  25.     cmdPitchDown,
  26.     cmdRollLeft,
  27.     cmdRollRight,
  28.     cmdExpand,
  29.     cmdContract
  30. };
  31.  
  32. class C3DModel;
  33. class C3DPoint;
  34. class C3DCamera;
  35.  
  36. class C3DPort /*: public PedObject*/ {
  37. public:
  38.     C3DPort(C3DModel &inModel);
  39.     virtual ~C3DPort();
  40.     virtual void SetCamera(C3DCamera *inCamera);
  41.     virtual void SendCameraCommand(short inCmd);
  42.     virtual void GetCameraFrame();
  43. public:
  44.     C3DModel &mModel;
  45.     C3DCamera *mCamera;
  46.     NGLList<C3DPoint *> mPoints;
  47. };
  48.